package com.nari.customer.service;

import java.util.List;
import java.util.Map;

import com.nari.coreframe.service.IGenericService;
import com.nari.customer.bo.UserComplaint;
import com.nari.platform.model.PageCond;
import com.nari.platform.model.ResponseMsg;
import com.nari.platform.model.ResultWithPageCond;

public interface ICustomerComplaintService extends
		IGenericService<UserComplaint, String> {

	ResultWithPageCond<UserComplaint> queryForPage(String buildingId,
			String projectId, String communityId, PageCond pageCond);

	Map<String, String> queryReferCommunityMap(List<UserComplaint> list)
			throws Exception;

	ResponseMsg saveOrUpdateUserComplaint(UserComplaint userComplaint)
			throws Exception;

	ResponseMsg deleteObjectById(String complaintId) throws Exception;

	UserComplaint queryForDetail(String complaintId) throws Exception;

	ResponseMsg updateObject(UserComplaint userComplaint);
}
